﻿using ENode.Eventing;
using System;
using System.Collections.Generic;
using System.Text;

namespace ESTAR.Domain.Auth
{
    public class NewUserInfoRegisteredEvent: DomainEvent<string>
    {
        public string UserName { get; private set; }
        public string Password { get; private set; }

        private NewUserInfoRegisteredEvent() { }
        public NewUserInfoRegisteredEvent(string name, string password)
        {
            UserName = name;
            Password = password;
        }
    }
}
